package com.wyt.dao;

import com.wyt.entity.Book;
import com.wyt.entity.Employee;
import com.wyt.entity.InstOrAgeAndDetail;

import java.util.List;
import java.util.Map;

public interface InstOrAgeAndDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(InstOrAgeAndDetail record);

    int insertSelective(InstOrAgeAndDetail record);

    InstOrAgeAndDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(InstOrAgeAndDetail record);

    int updateByPrimaryKey(InstOrAgeAndDetail record);

//   入库所有 查询详情 的弹出框查询方法

    List<InstOrAgeAndDetail> queryAllDetail(Integer pid);
   //添加入库查询
    List<InstOrAgeAndDetail> queryAllDetail1(Integer pid);


    List<InstOrAgeAndDetail> selectAllByBooknameBySumCount(Integer value);
}